<%@ Page Theme="Default" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="Photo.aspx.cs" Inherits="webapp4U.UI._Default" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register Src="~/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>
<%@ Register Namespace="webapp4U.UI" TagPrefix="webapp4U" %>
<%@ Register TagPrefix="uc" Src="~/Controls/ProductByParent.ascx" TagName="ProductByParent" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">

   <uc:Title runat="server" ID="Title" />

  <table width="500px" cellpadding="0" cellspacing="0" border="0" align="center">
    <tr>
      <td width="1px" background="<%=Globals.ImagesUrl() %>Frame/Line.gif"></td>
      <td valign="top" style="padding-bottom:25px; padding-top:20px; padding-left:32px;">
          <!--begin noi dung -->
          
           <asp:UpdatePanel ID="UserUpdatePanel" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
            <table border="0" cellpadding="5" cellspacing="0" width="100%" align="center">
            <tr>
                <td align="center">
                    <asp:Panel runat="server" ID="Panel_ProductByCate">
                      <!-- begin San Pham -->
                      <asp:DataList ID="ItemsDataList" runat="server" Width="100%" 
                      RepeatDirection="Horizontal"   
                      EnableViewState="False" 
                      CellPadding="5" 
                      ItemStyle-HorizontalAlign="Center"
                      RepeatColumns="2">
                        <ItemTemplate>
                            <table border="0" align="left" style="table-layout:fixed;">
                                <tr>
                                    <td class="BorderImage2" width="155" height="155" align="center">
                                        <a href="#">
                                            <img onmouseover="showtrail('<%=Globals.ApplicationPath %>Photos/Image.ashx?Size=L&ImageUrl=<%# Eval("FileName") %>','<%# Eval("Description")%>',500,500)" onmouseout="hidetrail();" border="0" src='<%=Globals.ApplicationPath %>Photos/Image.ashx?Size=M2&ImageUrl=<%# Eval("FileName") %>' />
                                        </a></td>
                                </tr>
                                <tr height="40">
                                    <td align="center" style="font-weight:bold; color:#5ed3f6">
                                        <a class="ProductName" href="#">
                                        <%# Eval("Title")%></a>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                      </asp:DataList>
                    <!-- end San Pham -->
                    </asp:Panel>
                </td>
            </tr>
            </table>

            <div align="center">
                <asp:Panel ID="DisplayPager" Visible="True" runat="server">
                    <div align="center">
                        <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
                            <tr>
                                <td valign="middle" align="center">
                                    <webapp4U:Pager ID="Pager" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </asp:Panel>
            </div>

              </ContentTemplate>
            </asp:UpdatePanel>    
            
            &nbsp;
          <!--end noi dung -->
      </td>
      <td width="1px" background="<%=Globals.ImagesUrl() %>Frame/Line.gif"></td>
    </tr>
</table>
            
                        

           
                             
</asp:Content>

